Programming with QuickTime VR

| Previous | Chapter contents | Chapter top | Section top | Next |

QTVREnableTransition

You can use the QTVREnableTransition function to enable or disable a transition effect.

OSErr QTVREnableTransition (
                     QTVRInstance qtvr,
                     UInt32transitionType,
                     Booleanenable);
qtvr
An instance of a QuickTime VR movie.
transitionType
A type of transition property. See "Transition Type" for a description of the available transition type.
enable
A Boolean value that indicates whether the specified transition property is to be enabled ( true ) or disabled ( false ).
function result
A result code.

DESCRIPTION

The QTVREnableTransition function enables or disables the transition property specified by the transitionType parameter for the movie specified by the qtvr parameter, as indicated by the value of the enable parameter. Once a transition effect is enabled, it is used at the appropriate time until it is disabled by a subsequent call to QTVREnableTransition .

SPECIAL CONSIDERATIONS

QTVREnableTransition is valid only for panoramic nodes.

SEE ALSO

Use QTVRSetTransitionProperty [link] to set the value of a transition property.


© 1997 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Section top | Next |